﻿#pragma once
#define LISTMSG_GETPRNG 5004

// PRngListDlg 对话框

class PRngListDlg : public CDialogEx
{
	DECLARE_DYNAMIC(PRngListDlg)

public:
	PRngListDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~PRngListDlg();
	HICON m_hIcon;

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_PRNGLIST };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()
public:
	const CString titles[9] = {
		L"PRN",
		L"glof",
		L"psr",
		L"psrstd",
		L"adr",
		L"adrstd",
		L"Dopp",
		L"CNO",
		L"Locktime"
	};
	const INT width[9] = { 60,80,140 ,140 ,100 ,100 ,80 ,80,80 };

	CListCtrl datalist;

	afx_msg LRESULT addData(WPARAM wParam, LPARAM lParam);
};
